/**
 * 权限模块
 * 作者：GodMainCode
 * 创建时间：2024-01-17
 * 修改时间：2024-01-17
 * 修改人：GodMainCode
 */

import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { PermissionService } from './permission.service';
import { PermissionController } from './permission.controller';
import { MenuService } from './menu.service';
import { MenuController } from './menu.controller';
import { Permission } from './entities/permission.entity';
import { UserModule } from '../user/user.module';

@Module({
  imports: [
    TypeOrmModule.forFeature([Permission]),
    UserModule,
  ],
  controllers: [PermissionController, MenuController],
  providers: [PermissionService, MenuService],
  exports: [PermissionService, MenuService],
})
export class PermissionModule {} 